Spread WPF Documentation
Evaluate(Object[]) Method


The args contains 2 - 3 items: lookup_value, lookup_array, [match_type].

Lookup_value is the value you use to find the value you want in a table.

Lookup_array is a contiguous range of cells containing possible lookup values. Lookup_array must be an array or an array reference.

[Match_type] is the number -1, 0, or 1. Match_type specifies how to matches lookup_value with values in lookup_array.

Returns the relative position of an item in an array that matches a specified value in a specified order.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcMatchFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 2 - 3 items: lookup_value, lookup_array, [match_type].

Lookup_value is the value you use to find the value you want in a table.

Lookup_array is a contiguous range of cells containing possible lookup values. Lookup_array must be an array or an array reference.

[Match_type] is the number -1, 0, or 1. Match_type specifies how to matches lookup_value with values in lookup_array.

Return Value

A System.Int32 value that indicates the evaluate result.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

CalcMatchFunction Class
CalcMatchFunction Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.